package com.wgts.wgts.control.dialog;

import android.os.Parcel;
import android.os.Parcelable;

/*
 *
 *   data:2018/9/2610:48
 *
 */public class PlatformPayData implements Parcelable {
     //订单信息，用于支付
     private String orderInfo;
     //剩余总数
    private String residueCoin;
    //支付金额
    private String payPrice;

    protected PlatformPayData(Parcel in) {
        orderInfo = in.readString();
        residueCoin = in.readString();
        payPrice = in.readString();
    }

    public static final Creator<PlatformPayData> CREATOR = new Creator<PlatformPayData>() {
        @Override
        public PlatformPayData createFromParcel(Parcel in) {
            return new PlatformPayData(in);
        }

        @Override
        public PlatformPayData[] newArray(int size) {
            return new PlatformPayData[size];
        }
    };

    public PlatformPayData() {
    }

    public String getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(String orderInfo) {
        this.orderInfo = orderInfo;
    }

    public String getResidueCoin() {
        return residueCoin;
    }

    public void setResidueCoin(String residueCoin) {
        this.residueCoin = residueCoin;
    }

    public String getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(String payPrice) {
        this.payPrice = payPrice;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(orderInfo);
        dest.writeString(residueCoin);
        dest.writeString(payPrice);
    }
}
